package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 弹幕信息Entity
 * @author hss
 * @version 2017-08-17
 */
public class Dmxx extends DataEntity<Dmxx> {
	
	private static final long serialVersionUID = 1L;
	private String nr;		// 内容
	private String xszt;		// 显示状态
	
	public Dmxx() {
		super();
	}

	public Dmxx(String id){
		super(id);
	}

	@Length(min=0, max=30, message="内容长度必须介于 0 和 30 之间")
	public String getNr() {
		return nr;
	}

	public void setNr(String nr) {
		this.nr = nr;
	}
	
	@Length(min=0, max=1, message="显示状态长度必须介于 0 和 1 之间")
	public String getXszt() {
		return xszt;
	}

	public void setXszt(String xszt) {
		this.xszt = xszt;
	}
	
}